package com.kongyz;

import com.kongyz.draw.GreenCircle;
import com.kongyz.draw.RedCircle;

/**
 * @author kongyz
 * @date 2018/6/26 22:55
 * @Description:
 */
public class Demo {
    public static void main(String[] args) {
        Shape red=new Circle(10,10,2,new RedCircle());
        red.draw();

        Shape green=new Circle(20,20,4,new GreenCircle());
        green.draw();
    }
}
